package com.cipe.cmrs.model;
/**
 * Save selected signature to the database table named signatureselectionlog
 */

import java.util.Date;

import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

@Entity
@Table(name = "signatureselectionlog")
@SuppressWarnings("serial")
public class SignatureSelectedLog extends BaseEntity{
	
	/**
	 * Attribute paymentRequestId.
	 */	
	@Basic
	@Column(name = "paymentreqid")
	private int paymentReqId;	

	@ManyToOne(fetch = FetchType.LAZY)
	@JoinColumn(name = "createdby")
	private User createdBy;
		
	@Column(name = "createdate")
	private Date  creationDate;
	
	@Column(name="signcheckedkey")
	private int key;
	
	@Column(name="signaturereqfor")
	private String signatureRequestFor;
	
	@Column(name="selectiontype")
	private String selectionType;

	public int getPaymentReqId() {
		return paymentReqId;
	}

	public void setPaymentReqId(int paymentReqId) {
		this.paymentReqId = paymentReqId;
	}

  
	public User getCreatedBy() {
		return createdBy;
	}

	public void setCreatedBy(User createdBy) {
		this.createdBy = createdBy;
	}

	public Date getCreationDate() {
		return creationDate;
	}

	public void setCreationDate(Date creationDate) {
		this.creationDate = creationDate;
	}

	public int getKey() {
		return key;
	}

	public void setKey(int key) {
		this.key = key;
	}

	public String getSignatureRequestFor() {
		return signatureRequestFor;
	}

	public void setSignatureRequestFor(String signatureRequestFor) {
		this.signatureRequestFor = signatureRequestFor;
	}

	public String getSelectionType() {
		return selectionType;
	}

	public void setSelectionType(String selectionType) {
		this.selectionType = selectionType;
	}


	
	

	
	

}
